package com.efesco.crm.employee;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.efesco.system.*;


/**
 * employeeViewModel
 */
public class employeeViewModel extends DefaultViewModel {
  protected void initControls() throws Exception {
    super.initControls();
    //super.initControl(id, control);
    String id="EMPLOYEE_EDIT";
    Control control=this.getControl(id);
    ClientRightControl clientRightControl=new ClientRightControl();

    clientRightControl.rightControl(id, control,DoradoContext.getContext());
    
    //**********//   //add by linzihui for "unite query" to use
    DoradoContext context = DoradoContext.getContext();
    com.efesco.unite_query.util.uniteQueryControlForCom(context, getDataset("datasetCondition"),"companyName#single_company_id");
    //**********//
  }

}
